package org.bright.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.bright.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author bright
 * @since 2024-12-10 04:12
 */
@Getter
@Setter
@TableName("categories")
@Schema(name = "Categories", description = "")
public class Categories extends BaseEntity {

    @Schema(description = "类别唯一标识符")
    @TableId(value = "category_id", type = IdType.AUTO)
    private Integer categoryId;

    @Schema(description = "类别名称")
    @TableField("category_name")
    private String categoryName;

    @Schema(description = "类别描述")
    @TableField("description")
    private String description;
}
